package cn.jiyun;

import cn.jiyun.entity.GoodsList;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.xml.transform.Result;

@FeignClient(value = "service-goods")
public interface GoodOpenFeign {

    @RequestMapping("/xm-goods/goods-list/findbyid2/{id}")
    GoodsList findbyid2(@PathVariable Integer id);
    @RequestMapping("/xm-goods/goods-list/update2")
    void update2(@RequestBody GoodsList goodsList);
}
